
package com.google.api.ads.adwords.jaxws.v201302.video;

import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * 
 *       TargetingGroupcriterion Service to manage TargetingGroupCriterions
 *       <p class="note"><b>Note:</b> This is a Beta feature.</p>
 *     
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.4-b01
 * Generated source version: 2.1
 * 
 */
@WebService(name = "VideoTargetingGroupCriterionServiceInterface", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302")
@XmlSeeAlso({
    com.google.api.ads.adwords.jaxws.v201302.cm.ObjectFactory.class,
    com.google.api.ads.adwords.jaxws.v201302.video.ObjectFactory.class
})
public interface VideoTargetingGroupCriterionServiceInterface {


    /**
     * 
     *         Returns the list of targeting group criteria that meet the selector criteria.
     *         
     *         @param selector Determines which targeting group criterions to return.
     *         If empty, all targeting groups are returned.
     *         @return A list of targeting group criteria.
     *         @throws ApiException if problems occurred while fetching targeting group information.
     *       
     * 
     * @param selector
     * @return
     *     returns com.google.api.ads.adwords.jaxws.v201302.video.TargetingGroupCriterionPage
     * @throws ApiException
     */
    @WebMethod
    @WebResult(name = "rval", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302")
    @RequestWrapper(localName = "get", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302", className = "com.google.api.ads.adwords.jaxws.v201302.video.VideoTargetingGroupCriterionServiceInterfaceget")
    @ResponseWrapper(localName = "getResponse", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302", className = "com.google.api.ads.adwords.jaxws.v201302.video.VideoTargetingGroupCriterionServiceInterfacegetResponse")
    public TargetingGroupCriterionPage get(
        @WebParam(name = "selector", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302")
        TargetingGroupCriterionSelector selector)
        throws ApiException
    ;

    /**
     * 
     *         Adds, updates, or deletes targeting group criteria.
     *         Note: TargetingGroupCriterionOperation does not support the REMOVE operator. To
     *         delete a targeting group, set its status to DELETED.
     *         @param operations A list of unique operations.
     *         @return The list of updated targeting group criteria, returned in the same order as the
     *         operations array.
     *         @throws ApiException if problems occurred while updating targeting group criteria.
     *       
     * 
     * @param operations
     * @return
     *     returns com.google.api.ads.adwords.jaxws.v201302.video.TargetingGroupCriterionReturnValue
     * @throws ApiException
     */
    @WebMethod
    @WebResult(name = "rval", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302")
    @RequestWrapper(localName = "mutate", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302", className = "com.google.api.ads.adwords.jaxws.v201302.video.VideoTargetingGroupCriterionServiceInterfacemutate")
    @ResponseWrapper(localName = "mutateResponse", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302", className = "com.google.api.ads.adwords.jaxws.v201302.video.VideoTargetingGroupCriterionServiceInterfacemutateResponse")
    public TargetingGroupCriterionReturnValue mutate(
        @WebParam(name = "operations", targetNamespace = "https://adwords.google.com/api/adwords/video/v201302")
        List<TargetingGroupCriterionOperation> operations)
        throws ApiException
    ;

}
